<div data-role="page" data-theme="b" id="jqm-home"> 
	<div id="jqm-homeheader"> 
		<h1 id="jqm-logo">Welcome to TnS Mobile.</h1>
	</div>
	<div data-role="content">	
		<!-- BEGIN catrow -->
		<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b"> 
					<li data-role="list-divider">{catrow.CAT_DESC}</li> 
					<!-- BEGIN forumrow -->
					<li><a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a></li> 
					<!-- END forumrow -->
		</ul>
		<!-- END catrow -->
		<!-- BEGIN switch_user_logged_out -->
		<form method="post" action="{S_LOGIN_ACTION}">
			{S_HIDDEN_FIELDS}
			<div data-role="fieldcontain">
				<label for="username">{L_USERNAME}</label>
				<input type="text" name="username" id="username" maxlength="60" value="" />
			</div>
			<div data-role="fieldcontain">
				<label for="subject">{L_PASSWORD}</label>
				<input type="password" name="password" id="password" maxlength="32" />
			</div>
			<!-- BEGIN switch_allow_autologin -->
				<div data-role="fieldcontain">
					<label for="autologin">{L_AUTO_LOGIN} </label>
					<input type="checkbox" id="autologin" name="autologin" />
				</div>
			<!-- END switch_allow_autologin -->
			<input type="submit" name="login" value="{L_LOGIN}" />
		</form>
		<!-- END switch_user_logged_out -->
		<!-- BEGIN switch_user_logged_in -->
	<!--
		<div data-role="controlgroup" data-type="horizontal">
			<a href="{U_SEARCH_NEW}" data-role="button">New Posts</a>
			<a href="{U_SEARCH_SELF}" data-role="button">Mine</a>
			<a href="{U_SEARCH_UNANSWERED}" data-role="button">Unanswered</a>
		</div>
	-->
		
		<div data-role="controlgroup">
			<a href="{U_PROFILE}" data-role="button">{L_PROFILE}</a>
			<!--<a href="{U_PRIVATEMSGS}" data-role="button">{L_PRIVATEMSGS}</a>-->
			<a href="{U_LOGIN_LOGOUT}" data-role="button">{L_LOGIN_LOGOUT}</a>
		</div>
		
		<p>{TOTAL_POSTS}</p>
		<p>{TOTAL_USERS}</p>
		<p>{NEWEST_USER}</p>
		<!--<p>{TOTAL_USERS_ONLINE}&nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br /></p>-->
		<p>{RECORD_USERS}</p>
		<p>{LOGGED_IN_USER_LIST}</p>
		<!-- END switch_user_logged_in -->
	</div>
</div>

